package pojo;

import java.util.Date;

public class Income {

	private int id;
	private int income_type_id;
	private long amount;
	private Date event_date;
	private Date record_date;
	private String note;
	
	public Income() {}
	
	public Income(int income_type_id, long amount, Date event_date, Date record_date, String note) {
		this.id = 0;
		this.income_type_id = income_type_id;
		this.amount = amount;
		this.event_date = event_date;
		this.record_date = record_date;
		this.note = null;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getIncome_type_id() {
		return income_type_id;
	}

	public void setIncome_type_id(int income_type_id) {
		this.income_type_id = income_type_id;
	}

	public long getAmount() {
		return amount;
	}

	public void setAmount(long amount) {
		this.amount = amount;
	}

	public Date getEvent_date() {
		return event_date;
	}

	public void setEvent_date(Date event_date) {
		this.event_date = event_date;
	}

	public Date getRecord_date() {
		return record_date;
	}

	public void setRecord_date(Date record_date) {
		this.record_date = record_date;
	}

	public String getNote() {
		return note;
	}

	public void setNote(String note) {
		this.note = note;
	}

	@Override
	public String toString() {
		return "Income [id=" + id + ", income_type_id=" + income_type_id + ", amount=" + amount + ", event_date="
				+ event_date + ", record_date=" + record_date + ", note=" + note + "]";
	}
	
	
}
